
const Router = require('express')
const datamanageTypeController = require('../../datamanageType/controllers.js')
const router = Router()

/* 分类列表 */
router.get('/datamanageType/list', datamanageTypeController.getList)
/* 添加分类 */
router.post('/datamanageType/new', datamanageTypeController.createOne)
// /* 拉取用户信息 */
// router.get('/user/:id', UserController.getOne)
// /* 删除分类 */
router.post('/datamanageType/delete', datamanageTypeController.deleteOne)
// /* 更新分类 */
router.post('/datamanageType/update', datamanageTypeController.updateOne)

module.exports = router
